package com.xjiuge.fruit.mapper.base;

import java.util.List;
import java.util.Map;



public interface BaseMapper<T> {
    
	int deleteByPrimaryKey(String keyId);

    int insert(T t);

    T selectByPrimaryKey(String keyId);

    int updateByPrimaryKey(T t);

	int updateByPrimaryKeySelective(T t);
	
	int insertSelective(T t);
	
	List<T> selectList(T t);
	
	Integer countList(T t);
	
	List<Map<String,Object>> selectMap(T t);
	
	Integer countMap(T t);
}